﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BSS.OAuth2.Facebook
{
    public class FacebookUser : User
    {
        public string first_name { get; set; }
        public string middle_name { get; set; }
        public string last_name { get; set; }
        public string username { get; set; }
        public string updated_time { get; set; }

        public DateTime LastUpdatedTime
        {
            get
            {
                DateTime dt;
                if (DateTime.TryParse(updated_time, out dt))
                    return dt;
                return DateTime.MinValue;
            }
        }
    }
}
